/**
 * 
 */
package vn.lumi.smarthome.io.model;

/**
 * @author Chu Tuan Anh
 *
 */
public class Time {
	private int hour;
	private int minute;
	
	public Time(int hour, int minute){
	
		this.hour = hour;
		this.minute = minute;
	}
	public Time(){
		this.hour = 0;
		this.minute = 0;
	}
	public boolean equals(Time time){
		if(this.hour == time.hour 
				&& this.minute == time.minute) return true;
		else
			return false;
	}
	public int getHour(){
		return this.hour;
	}
	
	public int getMinute(){
		return this.minute;
	}
}
